package cn.com.haopy.yue.ai.wx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = {
        "cn.com.haopy.yue.ai.db",
        "cn.com.haopy.yue.ai.core",
        "cn.com.haopy.yue.ai.comm",
        "cn.com.haopy.yue.ai.wx",
},exclude = {DataSourceAutoConfiguration.class})

@EnableScheduling
@EnableTransactionManagement
@EnableSwagger2
@EnableAsync
public class WxApplication {
    public static void main(String[] args) {
        SpringApplication.run(WxApplication.class, args);
    }
}
